package com.hao.yygh.cmn.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hao.yygh.model.cmn.Dict;
import com.hao.yygh.model.hosp.HospitalSet;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.UnsupportedEncodingException;
import java.util.List;

public interface DictService extends IService<Dict> {
    //根据id查询子列表
    List<Dict>findChildData(Long id);
    //导出数据字典接口
    public void exportDictData(HttpServletResponse response);
    //导入数据字典
    void importDictData(MultipartFile file);

    String getDictName(String dictCode, String value);

    List<Dict> findByDictCode(String dictCode);
}
